<template>
  <div v-if="bol" id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  provide() {
    return {
      reload: this.reload
    }
  },
  data() {
    return {
      bol: true
    }
  },
  methods: {
    reload() {
      this.blo = false
      this.$nextTick(() => {
        this.bol = true
      })
    }
  }
}
</script>

<style lang="scss">
// 去掉 Nprogress 插件的圆圈
.spinner {
  display: none !important;
}
</style>
